const {Sequelize,Model} = require('sequelize');
const sequelize = require('../db/index')

class CollectQuestionList extends Model{}
CollectQuestionList.init({
  id:{
    type:Sequelize.INTEGER(11),
    primaryKey:true,
    autoIncrement:true
  },
  user_id:{
    type:Sequelize.INTEGER(11),
    field:'user_id'
  },
  question_id:{
    type:Sequelize.INTEGER(11),
    field:'question_id'
  }
},{
  sequelize,
  tableName:'collectQuestionList'
});
module.exports = CollectQuestionList;